package com.xbongbong.parent.interfaces;

import com.xbongbong.paas.field.FieldAttrEntity;
import com.xbongbong.paas.pojo.dto.FormDataListDTO;
import com.xbongbong.paas.toolbox.exception.XbbException;

import java.util.List;

/**
 * @author 吴峰
 * @date 2022/05/16 15:59
 */
public interface FormDataAnalysisDataService<D> {

    /**
     * 业务类型
     * @return
     */
    List<Integer> businessList();

    /**
     * 解析列表方法
     * @param formDataListDTO
     * @param formDataList
     * @param explainList
     * @return
     * @throws XbbException
     */
    List<D> analysisDataList(FormDataListDTO formDataListDTO, List<D> formDataList,  List<FieldAttrEntity> explainList) throws XbbException;
}
